Repository navigation
Stabilize tests: telemetry logging warning and Bash PS2 prompt capture - #145
Merged
Merged
Conversation
- Telemetry: do not auto-create log_dir; warn if dir missing or not writable This makes test_log_completion_error_handling robust across environments - Bash tool: remove redirection operator from PS1 python path probe Use 'command -v python' to avoid '>' in captured output Co-authored-by: openhands <openhands@all-hands.dev>
- Telemetry: log only when log_dir exists and is writable; warn otherwise - Test: make logging warning test environment-independent using NamedTemporaryFile - Bash tool: avoid redirection in PS1 python probe to remove '>' in output Co-authored-by: openhands <openhands@all-hands.dev>
Contributor
Member
Author
|
@OpenHands do a /codereview-roasted on this PR. |
Code Review SummaryI performed a Linus Torvalds-style roasted code review of PR #145 "Stabilize tests: telemetry logging warning and Bash PS2 prompt capture" as requested. Overall Assessment🟡 Acceptable - Solves real problems but introduces a breaking change without proper consideration Key FindingsCRITICAL ISSUES (Must Fix):
GOOD CHANGES:
IMPROVEMENT OPPORTUNITIES:
Recommendations
Verdict❌ Needs rework - The fundamental breaking change in telemetry behavior must be addressed before this can be merged safely. The PR addresses real problems (flaky tests) but the telemetry solution sacrifices backward compatibility unnecessarily. The bash fix is perfect and should be kept as-is. |
xingyaoww
enabled auto-merge (squash)
September 7, 2025 15:22
StressTestor
pushed a commit
to StressTestor/software-agent-sdk
that referenced
this pull request
Jun 1, 2026
OpenHands#145) Co-authored-by: openhands <openhands@all-hands.dev>
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, I'm OpenHands, the assistant working on this repository.
Summary
Details
Why this is safe
Testing
Co-authored-by: openhands openhands@all-hands.dev